package org.example.service;

import org.example.domain.BookUser;
import org.example.mapper.dao.BookUserDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService {

    @Resource
    BookUserDao bookUserDao;

    public BookUser getUser(String name){
        return bookUserDao.getUserByName(name);
    }

}
